#pragma once
#include "DataStructure/Common/Id.h"
#include "DataStructure/Common/Real.h"
#include "DataStructure/Result/Optimization/OptimizationBase.h"

SG_DATASTRUCTURE_POST_NAMESPACE_OPEN

struct TOPVARData : public OptimizationBase {
  SG::DataStructure::Common::Id m_eId = 0;  ///< Element identification number
  SG::DataStructure::Common::Real m_VALUE = 0.0;  ///< Design vairable value
  SG::DataStructure::Common::Id m_domainId = 0;   ///< Domain identifier
};

///< @brief 判断数据是否相等
DECLSPEC bool operator==(const TOPVARData& val1, const TOPVARData& val2);

SG_DATASTRUCTURE_POST_NAMESPACE_CLOSE
